package com.motherchild.user.mapper;
import com.motherchild.admin.vo.ProductDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserProductMapper {
    List<ProductDetailVO> selectList(
            @Param("categoryId") Integer categoryId,
                                     @Param("name") String keyword);

    List<ProductDetailVO> getHot();
}